package com.neusoft.springdemo.bean;

/**
 * 
 * @author chens
 *
 */
public class Admin {
	private Integer adminId;
	private String adminName;
	private String password;
	private String salt;



	public Admin() {
		super();
	}

	public Admin(Integer adminId, String adminName, String password) {
		super();
		this.adminId = adminId;
		this.adminName = adminName;
		this.password = password;
	}

	public Admin(Integer adminId, String adminName, String password, String salt) {
		super();
		this.adminId = adminId;
		this.adminName = adminName;
		this.password = password;
		this.salt = salt;
	}

	public Integer getAdminId() {
		return adminId;
	}

	public void setAdminId(Integer adminId) {
		this.adminId = adminId;
	}

	public String getAdminName() {
		return adminName;
	}

	public void setAdminName(String adminName) {
		this.adminName = adminName;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getSalt() {
		return salt;
	}

	public void setSalt(String salt) {
		this.salt = salt;
	}

	@Override
	public String toString() {
		return "Admin [adminId=" + adminId + ", adminName=" + adminName + ", password=" + password + ", salt=" + salt
				+ "]";
	}

}
